package com.web;

import com.pojo.TiWen_wzl;
import com.service.TiWenService_wzl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/tiwen")
public class TiWenController_wzl {
    @Autowired
    private TiWenService_wzl tiWenServiceWzl;
    @RequestMapping("/listTiWen")
    public List<TiWen_wzl> listTiWen_wzl(String tName){
        return tiWenServiceWzl.listTiWen_wzl(tName);
    }
}
